package com.flame.core.utils.cipher;

import org.bouncycastle.jce.provider.BouncyCastleProvider;

import java.security.Security;

/**
 * Cipher
 *
 * @author wuxintong
 * @since 2023/1/28
 */
public interface FlameCipher {

    default String encrypt(String data) throws Exception{
        return data;
    }

    default String decrypt(String data) throws Exception {
        return data;
    }

    default String encrypt(String data, String key) throws Exception {
        return data;
    }

    default String decrypt(String data, String key) throws Exception {
        return data;
    }
}
